<h1>Nf nearnewss List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>User</th>
      <th>Name</th>
      <th>Description</th>
      <th>Link</th>
      <th>Url photo</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($nf_nearnewss as $nf_nearnews): ?>
    <tr>
      <td><a href="<?php echo url_for('nearnews/show?id='.$nf_nearnews->getId()) ?>"><?php echo $nf_nearnews->getId() ?></a></td>
      <td><?php echo $nf_nearnews->getUserId() ?></td>
      <td><?php echo $nf_nearnews->getName() ?></td>
      <td><?php echo $nf_nearnews->getDescription() ?></td>
      <td><?php echo $nf_nearnews->getLink() ?></td>
      <td><?php echo $nf_nearnews->getUrlPhoto() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('nearnews/new') ?>">New</a>
